package com.class06.ioc01;

public class HappyComponent {

    public HappyComponent() {
        System.out.println("HappyComponent.HappyComponent");
    }
    //    默认包含无参数构造函数
    public void doWork() {
        System.out.println("HappyComponent.doWork");
    }
}
